package com.example.zhish.gobang.bean;

/**
 * Created by qianjun on 2016/5/1.
 */
public class Constant {
    public static final int WHITE_PIECE = 1;
    public static final int BLACK_PIECE = 2;
    public static final int NO_PIECES = 0;


    public static final int WHITE_WINNER = 0x10;
    public static final int BLACK_WINNER = 0x11;
    public static final int NO_WINNER = 0x12;


    //当前状态：未分胜负
    public static final int NO_VICTORY_OR_DEFEAT = 0xff;

    //棋盘
    public static final int SMALL_CHECKBOARD_X = 10;
    public static final int SMALL_CHECKBOARD_Y = 10;

    public static final int MIDDDLE_CHECKBOARD_X = 15;
    public static final int MIDEDLE_CHECKBOARD_Y = 15;

    public static final int LARGE_CHECKBOARD_X = 18;
    public static final int LARGE_CHECKBOARD_Y = 18;

    public static final int RECTANGLE_CHECKBOARD_X = 10;
    public static final int RECTANGLE_CHECKBOARD_Y = 15;

    //棋的种类
    public static final int FIVE_PIECES_WIN = 5;
    public static final int SIX_PIECES_WIN =6;

    //人人模式
    public static final int HUMAN_PK_HUMAN = 0x20;
    //人机模式
    public static final int HUMAN_PK_ROBOT = 0x21;
}
